<extend name="Layout:layout_dialog" />
<block name="body_main">
    <form action="{:U('link_edit_save')}" method="post" class="xsui-form">
        <fieldset>
            <div class="xsui-form-field-vertical">
                <label>链接地址：</label>
                <input type="text" name="url" placeholder="链接地址" size="60" value="{$data.url}" />
            </div>
            <div class="xsui-form-field-vertical">
                <label>打开目标：</label>
                <input type="text" name="target" placeholder="打开目标,如：_blank,_self,_top" size="60" value="{$data.target}" />
            </div>
        </fieldset>
        <button type="submit" class="ui-state-default"><i class="fa fa-save"></i>保存</button>
        <button type="reset" class="ui-state-default">重置</button>
        <input type="hidden" name="category_id" value="{$data.category_id}"/>
        <input type="hidden" name="action" value="{$data.action}"/>
    </form>
</block>